home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.qualcomm.com
/
2014.06.ftp.qualcomm.com.tar
/
ftp.qualcomm.com
/
eudora
/
developers
/
emsapi
/
carbon_emsapi.sit.hqx
/
Macintosh API Support
/
usertrans.h
< prev
Wrap
Text File
|
2001-03-08
|
2KB
|
57 lines
/* =====================================================
Eudora Extended Message Services API SDK 3.0 (March 7, 1997)
This SDK supports EMSAPI version 3
Copyright 1995, 1996 QUALCOMM Inc.
Send comments and questions to <emsapi-info@qualcomm.com>
Template for definitions supplied by translator to component manager.
This file should be modified by the translator writer
to tell the component manager a couple of things it needs
to know about the translator itself. In general the component
manager interface is indepedent of the translator characteristics,
but these details are needed:
* The sizeof the globals structure - because the component manager
manages this block of storage
* Which entry points are implemented - because we use the component
manager to determine which translation API functions are implemented.
*/
/* ----------------------------------------------------------------------
Declaration of structure for global storage that is shared
between all translator functions. A handle to this is passed
in as the first argument for all entry points. Allocation of this
is taken care of by the component manager.
*/
typedef struct emsUserGlobalsS
{
Component self; // Required!
/* ADD GLOBALS NEEDED FOR YOUR TRANSLATOR HERE */
} emsUserGlobals, **emsUserGlobalsH;
/* ----------------------------------------------------------------------
Defines indicating whether or not a translator supplies a
function or not. The Eudora uses these via the component manager
to determine whether these functions should be called or not.
*/
/* SET FLAGS FOR FUNCTIONS SUPPLIED BY YOUR TRANSLATOR HERE */
#define EMS_HAS_PLUGIN_VERSION 1 /* Required */
#define EMS_HAS_PLUGIN_INIT 1 /* Required */
#define EMS_HAS_TRANSLATOR_INFO 0
#define EMS_HAS_CAN_TRANSLATE 0
#define EMS_HAS_TRANSLATE_FILE 0
#define EMS_HAS_PLUGIN_FINISH 1 /* Required */
#define EMS_HAS_PLUGIN_CONFIG 0
#define EMS_HAS_QUEUED_PROPERTIES 0
#define EMS_HAS_ATTACHER_INFO 0
#define EMS_HAS_ATTACHER_HOOK 0
#define EMS_HAS_IDLE 0
#define EMS_HAS_MBOX_CONTEXT_INFO 0
#define EMS_HAS_MBOX_CONTEXT_HOOK 0
#define EMS_HAS_PLUGWINDOW 0 /* all or nothing on the plugwindow calls */